package com.book.service;

import com.book.pojo.User;

import java.util.List;

/**
 * @author xuchangshuo
 * @date 2020/10/29 9:57
 */
public interface UserService {

    boolean login(User user);

    boolean add(User user) throws Exception;

    List findUserList();

    boolean updateUser(User user);

    boolean delete(int id);

}
